home *** CD-ROM | disk | FTP | other *** search
- //-------------------------------------------------------------------
- //
- // This code is copyright 2001 by G5 Software.
- // Any unauthorized usage, either in part or in whole of this code
- // is strictly prohibited. Violators WILL be prosecuted to the
- // maximum extent allowed by law.
- //
- //-------------------------------------------------------------------
-
- class CSelsovetMesh
- {
- string MeshFile = "Models/B_House_b.mesh";
- string SkinFile = "Models/B_House_b.skin";
- }
-
- class CSelsovetStateControl extends CUnitLifeControl
- {
- void CSelsovetStateControl()
- {
- CUnitLifeControl(7500.0);
- m_DestroyPause = 20.0;
- m_ExplosionId = "EXPLID_BuildingExplosion";
- }
- }
-
- // Building without ground control (for use in villages)
- class CBaseSelsovet extends CBuilding, CUnitWithStateControl
- {
- void CBaseSelsovet()
- {
- InitializeModelAsStatic("CSelsovetMesh");
- CUnitWithStateControl("CSelsovetStateControl");
- }
- }
-
- // Single game object
- class CMountedSelsovet extends CBaseSelsovet
- {
- void CMountedSelsovet()
- {
- InitializeGroundControl();
- }
- }
-
- // Building without ground control (for use in villages)
- class CBaseSovietSelsovet extends CBaseSelsovet
- {
- void CBaseSovietSelsovet()
- {
- Core_AddClassificator("Russian");
- Core_AddClassificator("GroundUnit");
- }
- }
-
- // Single game object
- class CMountedSovietSelsovet extends CBaseSovietSelsovet
- {
- void CMountedSovietSelsovet()
- {
- InitializeGroundControl();
- }
- }
-
-
-